
// header defining the interface of the source.
#ifndef _SLAVE_H
#define _SLAVE_H

#define LOWER_GOAL_THRESHOLD 400
#define UPPER_GOAL_THRESHOLD 600

// how many previous values to maintain
#define MAX_SAVED_VALUES 20

// when docking old values, how many do we keep?
#define RETAIN_VALUES_COUNT 5

#define UNDER_GOAL_COLOR GREEN
#define AT_GOAL_COLOR ORANGE
#define OVER_GOAL_COLOR RED

#define LINE_COLOR BLUE

#define MESSAGE_END '.'

#define AVG_COUNT 4
#define NO_CHANGE_THRESHOLD 30

#define LED_COUNT 16

// TODO: make this a function of how much the rate is changing
#define RING_RATE 200

#define TIME_GRAPH_RATE 300

#define COMMAND_COMPLETE "command complete"

#endif // _SLAVE_H
